package com.aaa.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @program: qy160-demo
 * @description:
 * @author: 闫克起2
 * @create: 2023-03-07 15:04
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "统一的json对象")
public class Result<T> {
    @ApiModelProperty(value = "状态码 200成功 500服务器错误")
    private Integer code;
    @ApiModelProperty(value = "消息内容")
    private String msg;
    @ApiModelProperty(value = "响应的数据")
    private T data;
}
